Pronamic\WordPress\Pay\Extensions\WooCommerce\Gateway B

Total Complexity 99
Dependencies 27
Dependents 2
Total lines 1,106
Lines of code 601
Logical lines of code 349
Comment lines 281
Methods 17
Properties 7

Methods 17

Method Rating Maintainability Complexity Lines of code
new_pronamic_payment_from_wc_order()
C
26
18 157
process_payment()
A
37 14 72
process_refund()
A
38 10 65
__construct()
A
40 10 59
init_form_fields()
A
37 8 84
after_checkout_validation()
S
53 6 23
print_fields()
S
51 5 31
get_input_fields()
S
54 5 23
connect_subscription_payment_renewal()
S
57 5 17
has_pronamic_subscriptions_support()
S
61 4 14
get_pronamic_subscriptions()
S
60 3 14
get_pronamic_option()
S
65 3 9
maybe_add_refunds_support()
S
70 3 6
maybe_add_subscriptions_support()
S
61 2 13
get_wp_payment_method()
S
82 1 3
payment_fields()
S
73 1 5
process_subscription_payment()
S
70 1 6